<template>
<div id="backTop" @click="backTop">

</div>
</template>

<script>
export default {
  name: "backTop",
  setup(props,{emit}){
    function backTop(){
      emit('bTop')
    }
    return{
      backTop
    }
  }
}
</script>

<style scoped>
#backTop{
  background:#FCFCFC url("../../../assets/img/up.png") no-repeat center center;
  background-size: 35px 35px;
  border-radius: 50%;
  width: 40px;
  box-shadow: 5px 5px 5px #8888;
  height: 40px;
  position: fixed;
  z-index: 999;
  right: 20px;
  bottom:100px;
}
</style>
